package course16;


import java.util.ArrayList;
import java.util.List;

public class ChineseMap {
    private String province;
    private String city;
    private String county;
    private List<DiDian> diDians;
    private int abcode;
    private int citycode;

    public int getAbcode() {
        return abcode;
    }

    public void setAbcode(int abcode) {
        this.abcode = abcode;
    }

    public int getCitycode() {
        return citycode;
    }

    public void setCitycode(int citycode) {
        this.citycode = citycode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public List<DiDian> getDiDians() {
        return diDians;
    }

    public void setDiDians(List<DiDian> diDians) {
        this.diDians = diDians;
    }

    public ChineseMap(String province, String city, String county, int abcode, int citycode){
        this.province = province;
        this.city=city;
        this.county=county;
        this.abcode=abcode;
        this.citycode=citycode;
        diDians=new ArrayList<DiDian>();

    }
    public List<DiDian> getDians(){
        return diDians;
    }
}
